{extend name="layout/base" /}
<!-- 标题 -->
{block name="title"}修改密码 - 用户管理{/block}
<!-- CSS -->
{block name="css"}{/block}
<!-- 具体内容 -->
{block name="content"}
<h2 class="header-dividing">修改密码 <small>Update password</small></h2>
<div class="panel">
    <div class="panel-body">
        <form class="form-horizontal" id="form-page-submit" method="post" action="{:url('/manage/pwd_save')}">
            <fieldset>
                <legend>修改密码</legend>
                <div class="col-lg-7 col-md-8 col-sm-10">
                    <div class="form-group">
                        <label class="col-sm-2 required" for="old_password">原始密码</label>
                        <div class="col-sm-5"><input type="password" class="form-control" id="old_password" name="old_password" placeholder="原始密码" data-minlength="5" data-error="至少5个字符" data-match-error="密码不一致" autocomplete="new-password" required></div>
                        <div class="col-sm-5 help-block with-errors">原始密码</div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 required" for="new_password">最新密码</label>
                        <div class="col-sm-5"><input type="password" class="form-control" id="new_password" name="new_password" placeholder="最新密码" data-minlength="5" data-error="至少5个字符" autocomplete="new-password" required></div>
                        <div class="col-sm-5 help-block with-errors">字母、数字、特殊字符。</div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 required" for="agn_password">重新输入</label>
                        <div class="col-sm-5"><input type="password" class="form-control" id="agn_password" name="agn_password" placeholder="重新输入" data-minlength="5" data-error="至少5个字符" data-match="#new_password" data-match-error="密码不一致" autocomplete="new-password" required></div>
                        <div class="col-sm-5 help-block with-errors">重新输入最新密码。</div>
                    </div>
                </div>
            </fieldset>
            <div class="from-group">
                <div class="col-lg-6 col-md-8 col-sm-10 text-center"><button type="submit" class="btn btn-primary">修改密码</button></div>
            </div>
        </form>
    </div>
</div>
{/block}


<!-- JS -->
{block name="js"}
    {load href="/static/lib/jquery/jquery.form.js"}
    {load href="/static/lib/validator/validator.min.js"}
{/block}

{block name="jscode"}
{/block}